<%--
  Created by IntelliJ IDEA.
  User: cos
  Date: 2022/3/14
  Time: 9:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>index</h1>
    <a href="adminHome.jsp">admin home</a>
    <a href="userHome.jsp">user home</a>
<%--    <a href="/logout">登出</a>--%>
    <form action="/logout" method="post">
        <security:csrfInput/>
        <input type="submit" value="登出">
    </form>
</body>
</html>
